y := 2;

define one
proc (n)
   return y
end;

define two
proc (n)
   y := 1;
   return one(n)
end;

p := two(3);
dynamicp := 1;
staticp := 2